package cn.getech.data.metadata.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * (CollectionTaskAlarm)表实体类
 *
 * @author makejava
 * @since 2021-08-12 18:53:36
 */
@Data
@TableName("collection_task_alarm")
public class CollectionTaskAlarm implements Serializable {

    @TableId
    private Long id;
    //监控名称
    private String monitorName;
    //采集任务id
    private Long taskId;
    //告警次数
    private Integer alarmNum;
    //最近告警时间
    private Date lastAlarmTime;
    //创建时间
    private Date createTime;
    //创建人
    private Long createId;
    //更新时间
    private Date updateTime;
    //更新人
    private Long updateId;
    //免打扰时间，开始
    private Date noDisturbingStart;
    //免打扰时间，结束
    private Date noDisturbingEnd;
    //免打扰时间，开始
    @TableField(exist = false)
    private String noDisturbingStartTime;
    //免打扰时间，结束
    @TableField(exist = false)
    private String noDisturbingEndTime;
    //创建人
    @TableField(exist = false)
    private String createPer;
    //采集任务名字
    @TableField(exist = false)
    private String taskName;
    //采集任务类型
    @TableField(exist = false)
    private String taskType;
    //接收人列表
    @TableField(exist = false)
    private List<CollectionTaskAlarmReceiver> alarmObjectList;

}
